﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="syslogin.aspx.cs" Inherits="Forum.Web.Admin.syslogin" %>
<%@ Register assembly="Public.Control" namespace="Public.Control" tagprefix="cc1" %>
<HTML>
<HEAD runat="server">
		<title>管理员控制台登录</title>
		<link href="styles/dntmanager.css" rel="stylesheet" type="text/css" />

		<script type="text/javascript" src="js/common.js"></script>
    <script src="js/jquery/jquery.js" type="text/javascript"></script>
		<script type="text/javascript">
		if(top.location!=self.location)
			{
				top.location.href = "syslogin.aspx";
			}
		</script>
</HEAD>
<BODY style="background:#f4f6f7;">
	<FORM id="Form1" method="post" runat="server">
	 <cc1:Hint ID="Hint1" runat="server" HintImageUrl="images" />
	 <div id="LoginBar">
		<ul>
		   <span class="td1">
				<asp:literal id="Msg" runat="server"></asp:literal>
			    <br />
				<br />
				</span>
			<li class="LoginTop"><img src="images/login-top.gif"/></li>
			<li class="FormNav">
				<dl>
					<dt><label>用户名:</label><cc1:textbox id="UserName" runat="server" 
                            size="25" HintInfo="管理员帐号" 
                            Width="180px" ></cc1:textbox></dt>
					
					<dt><label>密　码:</label><cc1:textbox id="PassWord" runat="server" 
                             TextMode="Password" Width="180px"  ></cc1:textbox></dt>
                             
                             
         <dt><label>验证码:</label><cc1:textbox 
                            id="vcode" runat="server"  Width="80px"  
                           ></cc1:textbox><img id="vcodeimg" style="cursor:hand" onclick="this.src='VerifyImagePage.aspx?w=120&h=35&time=' + Math.random()" title="点击刷新验证码" align="absMiddle" src="" />
        </dt>

													
					<dd>
                        <asp:ImageButton ID="ImageButton1" runat="server" 
                            style="width:60px; height:26px; border:0;  cursor:pointer; margin-left:65px;" 
                            ImageUrl="images/button.gif" onclick="ImageButton1_Click" />
					</dd>
					
				</dl>
			</li>
			<li><img src="images/login-bottom.gif"/></li>
		</ul>
	 </div>
	<div id="copyright"><%=footer%></div>
                     <script type="text/javascript">
                         $(function ()
                         {
                             $('#vcodeimg').attr("src", 'VerifyImagePage.aspx?w=120&h=35&time=' + Math.random());
                             $('#vcode').val('')
                             .keydown(function ()
                             {
                                 if (event.keyCode == 13) {
                                     $("#ImageButton1").click();
                                 }
                             });
                         });

                     </script>   
	 </FORM>
 </BODY>
</HTML>